#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
using namespace std;
struct  Stack
{
	int* a;
	int top;
	int capacity;
};

void StackInit(struct Stack* pst, int defaultcapacity=10);